package pl.edu.uj.tcs.blef.utils;

public class RoyalFlush extends AbstractBet {

private Color color;
	
	public RoyalFlush(Color color){
		this.color = color;
	}

	@Override
	public String getCode() {
		return "ROYAL-FLUSH " + color.getCode();
	}

	@Override
	public String getName() {
		return "ROYAL-FLUSH " + color.getCode();
	}

	@Override
	public int getPriority() {
		return color.getPriority() + 400000;
	}

	public Color getColor(){
		return this.color;
	}
}
